-
Notifications
You must be signed in to change notification settings - Fork 469
put http and https modules behind compat flag #4456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for the listing the changes, it will help syncing the unenv preset A few questions first:
But then, I'd like to thank you for the implementation. It has been requested many times by users and it should really improve the compatibility with Node 🙏 I'll work on updating the unenv preset as soon as this is released. |
I think we can merge this any time really. The big question is when should we unflag in production.
Before we flip the switch to make this generally available in production, we should have some internal teams do some experimentation to help validate this. I don't think we've done so yet.
I've not yet seen a documentation PR opened. We'll definitely need one... https://github.com/cloudflare/cloudflare-docs/pulls?q=sort%3Aupdated-desc+is%3Apr+is%3Aopen+%22node%3Ahttp%22+
Pretty sure the restrictions are still there. We're not really implementing Agent. What is there is a largely non-functional stub. We should absolutely make sure these make it into the docs. Personally, I'd like to at least see the documentation PR opened before we merge this. |
This comment was marked as resolved.
This comment was marked as resolved.
jasnell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I'd prefer to hold off on merging this until after it hits production and internal teams have a chance to experiment with it a bit.
This comment was marked as resolved.
This comment was marked as resolved.
70bea86 to
08742cb
Compare
08742cb to
8afb38f
Compare
Co-authored-by: Dan Lapid <[email protected]>
This pull-request enables the following modules and functions behind a compat flag
node:_http_agentnode:_http_clientnode:_http_commonnode:_http_incomingnode:_http_outgoingnode:httpnode:httpscc @vicb